 /**
 * jims
 */
 package com.jims.master.modules.sync.entity;


import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

 /**
  * 西药处方详情表Entity
  * @author ct
  * @version 2017-11-16
  */
 public class PrescriptionEnDetails extends DataEntity<PrescriptionEnDetails> {

     private static final long serialVersionUID = 1L;
     private String billingId;		// 西药处方主表id
     private String packageSpec;		// 药物规格
     private String packageUnit;        //药品包装单位-字典value值
     private String drugCode;		// 药物剂型代码
     private String drugName;		// 药物名称
     private String spec;		// 药物使用次剂
     private String unit;		// 药物使用剂量单位
     private String freqDesc;		// 药物使用频次代码
     private String administration;		// 用药途径代码
     private String accumulated;		// 药物使用总剂量
     private String firmid;         //药品厂商id
     private String firmname;       //药品厂商名称
     private String priceId;        //价表id
     private String price;          //药品单价
     private String num;    //药品总数量
     private String repetition; //剂数
     private String singleDosage; // 单次用量
     private String singleUnit; //用量单位 -字典label值
     private String abidance; //用药天数

     public String getPackageUnit() {
         return packageUnit;
     }

     public void setPackageUnit(String packageUnit) {
         this.packageUnit = packageUnit;
     }

     public String getFirmid() {
         return firmid;
     }

     public void setFirmid(String firmid) {
         this.firmid = firmid;
     }

     public String getFirmname() {
         return firmname;
     }

     public void setFirmname(String firmname) {
         this.firmname = firmname;
     }

     public String getPriceId() {
         return priceId;
     }

     public void setPriceId(String priceId) {
         this.priceId = priceId;
     }

     public String getPrice() {
         return price;
     }

     public void setPrice(String price) {
         this.price = price;
     }

     public String getNum() {
         return num;
     }

     public void setNum(String num) {
         this.num = num;
     }

     public String getRepetition() {
         return repetition;
     }

     public void setRepetition(String repetition) {
         this.repetition = repetition;
     }

     public String getSingleDosage() {
         return singleDosage;
     }

     public void setSingleDosage(String singleDosage) {
         this.singleDosage = singleDosage;
     }

     public String getSingleUnit() {
         return singleUnit;
     }

     public void setSingleUnit(String singleUnit) {
         this.singleUnit = singleUnit;
     }

     public String getAbidance() {
         return abidance;
     }

     public void setAbidance(String abidance) {
         this.abidance = abidance;
     }

     public PrescriptionEnDetails() {
         super();
     }

     public PrescriptionEnDetails(String id){
         super(id);
     }

     @Length(min=1, max=64, message="西药处方主表id长度必须介于 1 和 64 之间")
     public String getBillingId() {
         return billingId;
     }

     public void setBillingId(String billingId) {
         this.billingId = billingId;
     }

     @Length(min=0, max=20, message="药物规格长度必须介于 0 和 20 之间")
     public String getPackageSpec() {
         return packageSpec;
     }

     public void setPackageSpec(String packageSpec) {
         this.packageSpec = packageSpec;
     }

     @Length(min=0, max=2, message="药物剂型代码长度必须介于 0 和 2 之间")
     public String getDrugCode() {
         return drugCode;
     }

     public void setDrugCode(String drugCode) {
         this.drugCode = drugCode;
     }

     @Length(min=0, max=50, message="药物名称长度必须介于 0 和 50 之间")
     public String getDrugName() {
         return drugName;
     }

     public void setDrugName(String drugName) {
         this.drugName = drugName;
     }

     public String getSpec() {
         return spec;
     }

     public void setSpec(String spec) {
         this.spec = spec;
     }

     @Length(min=0, max=2, message="药物使用剂量单位长度必须介于 0 和 2 之间")
     public String getUnit() {
         return unit;
     }

     public void setUnit(String unit) {
         this.unit = unit;
     }

     @Length(min=0, max=3, message="药物使用频次代码长度必须介于 0 和 3 之间")
     public String getFreqDesc() {
         return freqDesc;
     }

     public void setFreqDesc(String freqDesc) {
         this.freqDesc = freqDesc;
     }

     @Length(min=0, max=50, message="用药途径代码长度必须介于 0 和 50 之间")
     public String getAdministration() {
         return administration;
     }

     public void setAdministration(String administration) {
         this.administration = administration;
     }

     public String getAccumulated() {
         return accumulated;
     }

     public void setAccumulated(String accumulated) {
         this.accumulated = accumulated;
     }

 }